<div>
    文件名：<input class="wd150" nz-input [(ngModel)]="searchParam.fileName" />
    &nbsp;&nbsp;&nbsp;
    年份：<nz-year-picker [(ngModel)]="searchParam.year"></nz-year-picker>
    &nbsp;&nbsp;&nbsp;
    月份：<nz-month-picker [(ngModel)]="searchParam.month"></nz-month-picker>
    &nbsp;&nbsp;&nbsp;
    <button nz-button nzType="default" (click)="search()"><i nz-icon nzType="search"></i>查询</button>
</div>

<div class="p150">
    <button nz-button nzType="default" (click)="modalShow('addModal')"><i nz-icon nzType="plus-circle"></i>新增</button>
    <button nz-button nzType="default" (click)="modalShow('editModal')"><i nz-icon nzType="edit"></i>修改</button>
    <button nz-button nzType="default" (click)="modalShow('delModal')"><i nz-icon nzType="delete"></i>删除</button>
</div>

<app-tablecheckpage #tcp [headData]="headData" [plainData]="plainData"></app-tablecheckpage>

<app-operamodal *ngIf="operaList.addModal" [popTitle]="'新增车间周计划'" [operaType]="'add'" [apiUrl]="apiUrl.add"
    (closeModal)="modalHide()" (reloadData)="loadList('addModal')">
</app-operamodal>
<app-operamodal *ngIf="operaList.editModal" [popTitle]="'修改车间周计划'" [operaType]="'edit'" [apiUrl]="apiUrl.edit"
    [responseData]="tempData" (closeModal)="modalHide('editModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.delModal" [popTitle]="'删除车间周计划'" [operaType]="'del'" [apiUrl]="apiUrl.del"
    [responseData]="tempData" (closeModal)="modalHide('delModal')" (reloadData)="loadList()">
</app-operamodal>